package com.wzcl.app.model.dto;

import com.wzcl.app.dao.model.AppUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import javax.persistence.CascadeType;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @author beingven
 * @Description TODO
 * @createTime 2021年01月12日 17:41:00
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class WorkShowReviewsDto {
    private Integer id;

    @ApiModelProperty("教师id")
    @NotNull(message = "用户id不能为空")
    private Integer userId;

    @ApiModelProperty("作品秀id")
    @NotNull(message = "作品秀id不能为空")
    private Integer workShowId;

    @ApiModelProperty("点评内容之审题选材")
    @NotNull(message = "审题选材不能为空")
    private String reviewsSelectTopic;

    @ApiModelProperty("点评内容之布局构思")
    @NotNull(message = "布局构思不能为空")
    private String reviewsOverallArrangement;

    @ApiModelProperty("点评内容之语言表达")
    @NotNull(message = "语言表达不能为空")
    private String reviewsLanguageExpression;

    @ApiModelProperty("图片集合")
    @NotNull(message = "图片集合不能为空")
    private List<String> images;

    @ApiModelProperty("语音")
    @NotNull(message = "语音不能为空")
    private String audio;

    @ApiModelProperty("评论时间")
    private Date createTime;
}
